# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created: Mon Feb 14 18:36:46 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 700)
        MainWindow.setMinimumSize(QtCore.QSize(800, 700))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Libra.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setContentsMargins(5, 5, 5, 0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.board = QtGui.QGraphicsView(self.centralwidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Comic Sans MS"))
        font.setPointSize(14)
        self.board.setFont(font)
        self.board.setFrameShape(QtGui.QFrame.NoFrame)
        self.board.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.board.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.board.setCacheMode(QtGui.QGraphicsView.CacheBackground)
        self.board.setObjectName(_fromUtf8("board"))
        self.gridLayout.addWidget(self.board, 0, 0, 1, 3)
        self.startBtn = QtGui.QPushButton(self.centralwidget)
        self.startBtn.setMinimumSize(QtCore.QSize(150, 0))
        self.startBtn.setMaximumSize(QtCore.QSize(150, 16777215))
        self.startBtn.setObjectName(_fromUtf8("startBtn"))
        self.gridLayout.addWidget(self.startBtn, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menuFile = QtGui.QMenu(self.menuBar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuLanguage = QtGui.QMenu(self.menuFile)
        self.menuLanguage.setObjectName(_fromUtf8("menuLanguage"))
        self.menuTools = QtGui.QMenu(self.menuBar)
        self.menuTools.setObjectName(_fromUtf8("menuTools"))
        MainWindow.setMenuBar(self.menuBar)
        self.actionFileLogin = QtGui.QAction(MainWindow)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/People SH.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionFileLogin.setIcon(icon1)
        self.actionFileLogin.setObjectName(_fromUtf8("actionFileLogin"))
        self.actionFileExit = QtGui.QAction(MainWindow)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Undo.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionFileExit.setIcon(icon2)
        self.actionFileExit.setObjectName(_fromUtf8("actionFileExit"))
        self.actionToolsSettings = QtGui.QAction(MainWindow)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Gear SH.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionToolsSettings.setIcon(icon3)
        self.actionToolsSettings.setObjectName(_fromUtf8("actionToolsSettings"))
        self.actionToolsStatistics = QtGui.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Search icons.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionToolsStatistics.setIcon(icon4)
        self.actionToolsStatistics.setObjectName(_fromUtf8("actionToolsStatistics"))
        self.actionToolsChangePassword = QtGui.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/local security policy.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionToolsChangePassword.setIcon(icon5)
        self.actionToolsChangePassword.setObjectName(_fromUtf8("actionToolsChangePassword"))
        self.actionFileLogOut = QtGui.QAction(MainWindow)
        self.actionFileLogOut.setIcon(icon1)
        self.actionFileLogOut.setObjectName(_fromUtf8("actionFileLogOut"))
        self.actionFileStartTest = QtGui.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Baseball.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionFileStartTest.setIcon(icon6)
        self.actionFileStartTest.setObjectName(_fromUtf8("actionFileStartTest"))
        self.actionEnglish = QtGui.QAction(MainWindow)
        self.actionEnglish.setCheckable(True)
        self.actionEnglish.setObjectName(_fromUtf8("actionEnglish"))
        self.actionRussian = QtGui.QAction(MainWindow)
        self.actionRussian.setCheckable(True)
        self.actionRussian.setObjectName(_fromUtf8("actionRussian"))
        self.menuLanguage.addAction(self.actionEnglish)
        self.menuLanguage.addAction(self.actionRussian)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionFileStartTest)
        self.menuFile.addAction(self.actionFileLogin)
        self.menuFile.addAction(self.actionFileLogOut)
        self.menuFile.addAction(self.menuLanguage.menuAction())
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionFileExit)
        self.menuTools.addAction(self.actionToolsChangePassword)
        self.menuTools.addAction(self.actionToolsStatistics)
        self.menuTools.addSeparator()
        self.menuTools.addAction(self.actionToolsSettings)
        self.menuBar.addAction(self.menuFile.menuAction())
        self.menuBar.addAction(self.menuTools.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.actionFileExit, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.close)
        QtCore.QObject.connect(self.startBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onStart)
        QtCore.QObject.connect(self.actionFileLogin, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onLogin)
        QtCore.QObject.connect(self.actionFileLogOut, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onLogout)
        QtCore.QObject.connect(self.actionToolsChangePassword, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onChangePassword)
        QtCore.QObject.connect(self.actionToolsSettings, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onSettings)
        QtCore.QObject.connect(self.actionToolsStatistics, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onStatistics)
        QtCore.QObject.connect(self.actionFileStartTest, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onStart)
        QtCore.QObject.connect(self.actionEnglish, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onEnglishLanguage)
        QtCore.QObject.connect(self.actionRussian, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.onRussianLanguage)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "PsyBlockGame", None, QtGui.QApplication.UnicodeUTF8))
        self.startBtn.setText(QtGui.QApplication.translate("MainWindow", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuLanguage.setTitle(QtGui.QApplication.translate("MainWindow", "Language", None, QtGui.QApplication.UnicodeUTF8))
        self.menuTools.setTitle(QtGui.QApplication.translate("MainWindow", "Tools", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFileLogin.setText(QtGui.QApplication.translate("MainWindow", "&Log in...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFileExit.setText(QtGui.QApplication.translate("MainWindow", "E&xit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionToolsSettings.setText(QtGui.QApplication.translate("MainWindow", "Settings...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionToolsStatistics.setText(QtGui.QApplication.translate("MainWindow", "User statistics...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionToolsChangePassword.setText(QtGui.QApplication.translate("MainWindow", "Change password...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFileLogOut.setText(QtGui.QApplication.translate("MainWindow", "Log &out", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFileStartTest.setText(QtGui.QApplication.translate("MainWindow", "&Start test", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEnglish.setText(QtGui.QApplication.translate("MainWindow", "English", None, QtGui.QApplication.UnicodeUTF8))
        self.actionRussian.setText(QtGui.QApplication.translate("MainWindow", "Russian", None, QtGui.QApplication.UnicodeUTF8))

from . import resource_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

